package page.pc.riskEducationPage;

import basicTool.WaitTool;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;
import page.pc.AbstractPCPage;

/**
 * Created by lomo.
 */
public class RiskEducationNewsDetailPage extends AbstractPCPage{
    @FindBy(css = ".ns-content")
    private WebElement riskEducationArticleContentArea;

    public RiskEducationNewsDetailPage(WebDriver driver) {
        super(driver);
        WaitTool.waitFor(driver, ExpectedConditions.visibilityOf(riskEducationArticleContentArea), 60);
    }
}
